#ifndef __mst_api_h__
#define __mst_api_h__
#if defined(_WIN32) || defined(WIN32)

#define MST_DLLEXPORT __declspec(dllexport)
#define MST_DLLIMPORT __declspec(dllimport)

#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE 1
#endif

/**
\def MSTAPI
\brief Control MS Windows DLL construction.

Make the construction and usage of MS Windows DLL's easy.
Define the MST_EXPORTS macro in the Visual Studio compiler settings
when building the dll and everything should work.
*/

#pragma warning (disable: 4091 4244 4251 4275 4290 4996)
#ifdef mst_EXPORTS
#define MSTAPI MST_DLLEXPORT
#else
#define MSTAPI MST_DLLIMPORT
#endif
#else
#define MSTAPI
#define MST_DLLEXPORT
#define MST_DLLIMPORT

#endif

#include "sys/sys.h"

#endif

